package org.datavis.event;

import android.app.Dialog;
import android.view.View;

public class DismissDialogOnClickListener implements View.OnClickListener{

	protected Dialog dialog = null;	
	
	public DismissDialogOnClickListener(Dialog dialog)
	{
		this.dialog = dialog;
	}
	
	public void onClick(View v) {
		dialog.dismiss();
		
	}

}
